home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SNNSV32.ZIP / SNNSv3.2 / kernel / sources / kr_def.h < prev    next >
C/C++ Source or Header  |  1994-04-25  |  2KB  |  84 lines

  1. /*****************************************************************************
  2.   FILE           : kr_def.h
  3.   SHORTNAME      : def.h
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : SNNS-Kernel Defaults
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Niels Mache
  10.   DATE           : 01.03.90
  11.  
  12.   CHANGED BY     : Sven Doering
  13.   IDENTIFICATION : @(#)kr_def.h    1.8 3/15/94
  14.   SCCS VERSION   : 1.8
  15.   LAST CHANGE    : 3/15/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.  
  19. ******************************************************************************/
  20. #ifndef KR_DEFAULTS
  21.  
  22. #define KR_DEFAULTS
  23.  
  24. #ifndef NULL
  25. #include <stdio.h>    /*  include "stdio.h" if the NULL-pointer isn't
  26.                 defined  */
  27. #endif
  28.  
  29.  
  30. /*  default constants for block memory allocation in # of components
  31. */
  32. #ifdef __BORLANDC__
  33.  
  34. #define  UNIT_BLOCK     100
  35. #define  LINK_BLOCK     500
  36. #define  SITE_BLOCK     20
  37. #define  NTABLE_BLOCK   50
  38. #define  STABLE_BLOCK   20
  39. #define  PATTERN_BLOCK  50
  40.  
  41. #else
  42.  
  43. #define  UNIT_BLOCK     1000
  44. #define  LINK_BLOCK     5000
  45. #define  SITE_BLOCK     200
  46. #define  NTABLE_BLOCK   500
  47. #define  STABLE_BLOCK   200
  48. #define  PATTERN_BLOCK  200
  49.  
  50. #endif
  51.  
  52. /*  Unit/Site Default Initialisations
  53. */
  54.  
  55. #define     DEF_OUT         0
  56. #define     DEF_I_ACT       0
  57. #define     DEF_BIAS        0
  58.  
  59. #define     DEF_SUBNET_NO   0
  60. #define     DEF_LAYER_NO    1
  61. #define     DEF_POS_X       0
  62. #define     DEF_POS_Y       0
  63. #ifdef KERNEL3D
  64. #define     DEF_POS_Z       0
  65. #endif
  66.  
  67. #define     DEF_STYPE       UFLAG_TTYP_HIDD
  68.  
  69.  
  70. /*#################################################
  71.  
  72. GROUP: File I/O Constants
  73.  
  74. #################################################*/
  75.  
  76. /*  max. line length for the kernel input/output files
  77. */
  78. #define  MAX_LIN_LEN    250
  79. #define  BEST_LINE_LEN  132
  80.  
  81.  
  82.  
  83. #endif
  84.